package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Description: 【 请求路径 实体 】
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_request_path")
@ApiModel(value = "SysRequestPathPo",description = "请求路径相关Po")
public class SysRequestPathPo {

    // ==================== FIELDS ====================

    /**
     * 路径ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "路径id", example = "1")
    private Integer id;

    /**
     * 请求路径
     */
    @TableField(value = "url")
    @ApiModelProperty(value = "请求路径",example = "/admin")
    private String url;

    /**
     * 路径描述
     */
    @TableField(value = "description")
    @ApiModelProperty(value = "路径描述",example = "管理员专用")
    private String description;

    // ==================== NON-PERSISTENT ====================

    // ==================== GET AND SET METHODS ====================

}
